import 'package:json_annotation/json_annotation.dart';

part 'employmentInfo.g.dart';

@JsonSerializable()

class EmploymentInfo {
  EmploymentInfo(
    this.jobAddress,
    this.jobCity,
    this.jobCommune,
    this.jobIndustry,
    this.jobProvince,
    this.monthlyIncome,
  );

  String jobAddress;
  String jobCity;
  String jobCommune;
  String jobIndustry;
  String jobProvince;
  String monthlyIncome;

  factory EmploymentInfo.fromJson(Map<String, dynamic> json) => _$EmploymentInfoFromJson(json);
  Map<String, dynamic> toJson() => _$EmploymentInfoToJson(this);
  // 命名构造函数
  EmploymentInfo.empty();
}
